<?php

class Callback {
	
	public function __construct() {
	
	}
	
	public function enqueueCallbackNonblocking($callback_uri, $mid) {
	
		$r = new HttpRequest($callback_uri, HttpRequest::METH_POST);
		$r->addPostFields(array("callbacksent" => "1", "mid"=>"$mid"));
		try {
			$r->send()->getBody();
		} 
		catch (HttpException $ex) {
		}
	}
	
}

?>
